<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>font-family</title>
    <style>
        .test {
            font-family:"黑体";
        }
    </style>
</head>

<body>
    <div class="test">使用字体名称和字体序列名称定义字体。</div>
</body>

</html>